<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">

@section('htmlheader')
    @include('layouts.partials.htmlheader')
@show
<body >
<div class="box box-info">

    <!-- /.box-header -->
    <!-- form start -->
    <form class="form-horizontal" action="{{url('BaseSet/add')}}" method="post">
        <input type="hidden" name="_token" value="{{ csrf_token() }}">
        <div class="box-body">
            <div class="form-group"style="width: 98%;">
                <label for="inputEmail3" class="col-sm-2 control-label">菜单栏名称</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="nav_name" placeholder="" name="nav_name"  >
                </div>
            </div>
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">父级菜单</label>
                <div class="col-sm-10">
                    <select class="form-control select2" style="width: 60%;" name="pid">
                        <option selected="selected" value="0">无</option>
                        @foreach($parent as $value)
                            <option  value="{{$value->id}}">{{$value->nav_name}}</option>
                        @endforeach
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">菜单类型</label>
                <div class="col-sm-10">
                    <select class="form-control select2" style="width: 60%;" name="nav_type">
                        <option selected="selected" value="关键词回复">关键词回复</option>
                        <option value="URL链接">URL链接</option>
                    </select>
                </div>
            </div>

            <div class="form-group" style="width:500px;margin-left: 35px" >
                <label for="inputPassword3" class="col-sm-2 control-label">关键词</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="value" placeholder="" name="value">
                </div>
            </div>
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">状态</label>
                <div class="col-sm-10">
                    <select class="form-control select2" style="width: 60%;" name="is_opend">
                        <option selected="selected" value="开启">开启</option>
                        <option value="关闭">关闭</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">排序</label>
                <div class="col-sm-10">
                    <select class="form-control select2" style="width: 60%;" name="sort">
                        <option selected="selected" value="0">0</option>
                        <option value="10">10</option>
                        <option  value="20">20</option>
                        <option value="30">30</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <div class="checkbox">
                        <label>

                        </label>
                    </div>
                </div>
            </div>
        </div>
        <!-- /.box-body -->
        <div class="box-footer">
            <button type="submit" class="btn btn-info pull-left" style="margin-left: 300px">提交</button>
        </div>
        <!-- /.box-footer -->
    </form>
    <script>

    </script>
</div>

@section('scripts')
    @include('layouts.partials.scripts')
@show

</body>
</html>
